FluentBooking\App\Models\CalendarSlot D

Total Complexity 186
Dependencies 12
Dependents 26
Total lines 959
Lines of code 666
Logical lines of code 328
Comment lines 16
Methods 76
Properties 3

Methods 76

Method Rating Maintainability Complexity Lines of code
getNotifications()
A
50 10 30
getMinBookableDateTime()
S
56 7 17
getDirty()
S
58 6 15
getMaxLookUpDate()
S
58 6 14
getAuthorProfile()
S
55 5 20
isConfirmationRequired()
S
56 5 18
getMinLookUpDate()
S
58 5 14
isPaymentEnabled()
S
61 5 12
getLocationFields()
S
46 2 46
getMaxBookableDateTime()
S
57 4 16
getDateOverrides()
S
58 4 15
getPublicUrl()
S
60 4 14
getWeeklySlots()
S
59 4 13
getScheduleTimezone()
S
62 4 11
getPaymentSettings()
S
50 2 31
getHostIdsSortedByBookings()
S
57 3 16
getWooProductPrice()
S
59 3 14
getWooProductPriceByDuration()
S
62 3 12
getPricingTotal()
S
63 3 11
getAuthorProfiles()
S
62 3 11
updateMeta()
S
57 2 18
getSlotSettingsSchema()
S
58 2 16
defaultLocationHtml()
S
64 3 10
isTeamCommonSchedule()
S
68 3 8
getSlotInterval()
S
69 3 6
getDescription()
S
66 3 9
getDuration()
S
64 3 10
getCutoutSeconds()
S
66 3 7
getCanNotCancelSettings()
S
63 3 10
getHostIds()
S
66 3 9
isTeamDefaultSchedule()
S
67 3 8
getCanNotRescheduleSettings()
S
63 3 10
getPaymentItems()
S
64 3 9
isProEvent()
S
79 3 3
getAvailableDurations()
S
62 2 12
isRoundRobinDefaultSchedule()
S
79 2 3
isWooEnabled()
S
78 2 3
isRoundRobinCommonSchedule()
S
79 2 3
getMeta()
S
64 2 10
boot()
S
65 2 9
isOneOffEvent()
S
79 2 3
isPhoneRequired()
S
70 2 6
getDefaultDuration()
S
71 2 6
isTeamEvent()
S
79 2 3
setSettingsAttribute()
S
66 2 8
isMultiHostEvent()
S
79 2 3
isMultiHostsEvent()
S
79 2 3
isMultiGuestEvent()
S
79 2 3
isAddressRequired()
S
70 2 6
isLocationFieldRequired()
S
68 2 7
user()
S
79 1 3
bookings()
S
79 1 3
getProcessedWeeklySlots()
S
69 1 6
isSingleEvent()
S
80 1 3
getProcessedDateOverrides()
S
66 1 8
calendar()
S
79 1 3
getLocationSettingsAttribute()
S
80 1 3
setLocationSettingsAttribute()
S
78 1 3
getSettingsAttribute()
S
80 1 3
getCalendarEventsMeta()
S
71 1 6
getIntegrationsMeta()
S
71 1 6
isGroup()
S
80 1 3
getTotalBufferTime()
S
72 1 5
isGroupEvent()
S
80 1 3
isRoundRobin()
S
80 1 3
isCollective()
S
80 1 3
defaultPaymentIcon()
S
75 1 4
isConfirmationEnabled()
S
79 1 3
isGuestFieldRequired()
S
80 1 3
setNotifications()
S
80 1 3
getBookingFields()
S
80 1 3
getMaxBookingPerSlot()
S
82 1 3
setBookingFields()
S
79 1 3
isMultiDurationEnabled()
S
79 1 3
isReserveTime()
S
79 1 3
getAvailableTimes()
S
79 1 3